//
//  YJScreenControl.h
//  CToolBox
//
//  Created by crj on 16/8/24.
//  Copyright © 2016年 oyf. All rights reserved.
//

#import <UIKit/UIKit.h>

#import "ProvincesEntity.h"
#import "IndustriesEntity.h"

typedef void(^ScreenControlComplete)( NSString * city,NSString * dustry);

@interface YJScreenControl : UIControl



+ (YJScreenControl *)showScreenControlWithCitys:(NSArray *)citys trades:(NSArray *)trades complete:(ScreenControlComplete)complete;


@end


#pragma mark - UIcollectionView SubView Class
/**
 *  cell
 */
@interface YJScreenControlCell : UICollectionViewCell

@property (nonatomic, strong) UIButton *button;

@end

/**
 *  section header
 */
@interface YJScreenControlHeader : UICollectionReusableView

@property (nonatomic, strong) UILabel *titleLabel;
@property (nonatomic, strong) UILabel *lineLabel;

@end



/**
 *  section footer
 */
@interface YJScreenControlFooter : UICollectionReusableView

@property (nonatomic, strong) UIButton *openBtn;
@property (nonatomic, copy)void(^selectBlock)(NSInteger section);

@end



@interface YJScreenControlItemModel : NSObject

@property (nonatomic, copy) NSString *key;
@property (nonatomic, assign) BOOL isSelect;

@end




